package com.rxw.nutmall.oss.service;

import com.rxw.nutmall.oss.entity.File;
import com.rxw.nutmall.service.BaseService;
import com.rxw.nutmall.utils.Result;
import org.springframework.web.multipart.MultipartFile;

public interface FileService extends BaseService<File> {

    Result<File> getObject(File file);

    Result<String> uploadFile(MultipartFile multipartFile, String folder);

    String getFileUrl(File file);

}
